package it.patamau.bukkit;

import org.bukkit.plugin.Plugin;

@Deprecated
public class PluginShutdownHook extends Thread{

	private Plugin _plugin;
	
	@Deprecated
	public PluginShutdownHook(Plugin plugin){
		_plugin = plugin;
		Runtime.getRuntime().addShutdownHook(this);
	}
	
	public void run(){
		_plugin.onDisable();
	}
}
